package de.tum.beilmaier.im.server.dao;

import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;

import de.tum.beilmaier.im.shared.model.ChatRoom;
import de.tum.beilmaier.im.shared.model.User;

public interface ChatRoomDao {

	public void addChatRoom(ChatRoom room);
	public void removeChatRoom(ChatRoom room);
	public LinkedList<ChatRoom> getAllChatRooms();
	public void addUsertoChatRoom(User user, ChatRoom room);
	public void removeUserfromChatRoom(User user, ChatRoom room);
	public void removeUserfromAllChatRooms(User logoutUser);
	public LinkedList<ChatRoom> getChatRoomsByUser(User user);
}
